225826749e3ac513b219c90b919a4e8965d6aa11,jobqueue/src/main/java/com/path/android/jobqueue/Job.java,Job,Job,#Params#,49
Before Change
this.priority = params.getPriority();
this.delayInMs = params.getDelayMs();
final Set<String> tags = params.getTags();
this.readonlyTags = tags == null ? null : Collections.unmodifiableSet(tags);
}
public String getId() {
After Change
this.priority = params.getPriority();
this.delayInMs = params.getDelayMs();
final String singleId = params.getSingleId();
if (params.getTags() != null || singleId != null) {
final Set<String> tags = params.getTags() != null ? params.getTags() : new HashSet<String>();
if (singleId != null) {
tags.add(createTagForSingleId(singleId));
}
this.readonlyTags = Collections.unmodifiableSet(tags);
}
}